﻿@model SuccessInfo
@{
    if (Model == null)
    {
        throw new HttpException(400, "No data specified before redirecting.");
    }
    ViewBag.Title = Model.PageTitle;
}

<p>
    @Model.SuccessText
</p>
@if (!String.IsNullOrWhiteSpace(Model.LinkText) && !String.IsNullOrWhiteSpace(Model.LinkUrl))
{
    <p><a href="@Model.LinkUrl">@Model.LinkText</a></p>
}